#include "videoplugin.h"
#include <QtTest/QtTest>

class VideoTest : public QObject
{
    Q_OBJECT
 private slots:
     void test();
};

void VideoTest::test() {
    VideoPlugin * plugin=new VideoPlugin();
    QVERIFY("Video"==plugin->getName());
    //QVERIFY("Video2"==plugin->getName());
    QCOMPARE(QString("Video2"),plugin->getName());
}

QTEST_MAIN(VideoTest)
#include "videotest.moc"
